package com.twang.stock.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * 东方财富：查看板块毛利率
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ThsTagResponse implements Serializable {



    @JSONField(name = "status_code")
    private Integer statusCode;

    @JSONField(name = "status_msg")
    private String statusMsg;

    @JSONField(name = "data")
    private Data data;


    /**
     * Data
     */
    @lombok.Data
    @JsonInclude(JsonInclude.Include.NON_NULL)
    class Data {

        private Integer total;

        private Object version;

        private String stockName;

        private List<Label> labels;
        // 省略 getter 和 setter 方法
    }

    /**
     * Label
     */
    @lombok.Data
    @JsonInclude(JsonInclude.Include.NON_NULL)
    class Label {

        private String tagClass;

        private String level;

        private String summary;

        private String updateTime;

        private Integer jumpType;

        private String jumpDetail;

        private Object selfPoint;

        private String tagName;

        private String tagUid;

        private String secondTagId;

        private Object order;

        private List<SustainTag> sustainTags;

        private String type;

        private Long updateTimestamp;

        private Object topTime;

        private Object isTop;
    }

    /**
     * SustainTag
     */
    @lombok.Data
    @JsonInclude(JsonInclude.Include.NON_NULL)
    class SustainTag {
        private String uid;

        private String name;

        private String query;

        private String time;

        private String level;
        // 省略 getter 和 setter 方法
    }




}
